﻿using FreeSqlDemo.Services;
using Microsoft.AspNetCore.Mvc;
using OfficeOpenXml.FormulaParsing.Excel.Functions.Text;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace Magicodes.IE.Demo.IService
{
    public interface IExportServices
    {
        /// <summary>
        /// 泛型集合导出Excel
        /// </summary>
        /// <returns></returns>
       ActionResult ByListAsync();
        /// <summary>
        /// 数组导出
        /// </summary>
        /// <returns></returns>
        //Task<ActionResult> ByBytes();
        /// <summary>
        ///  使用流导出Excel文件
        /// </summary>
        /// <returns></returns>
        //Task<ActionResult> ByStream();
    }
  
}
